package com.mycode.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mycode.domain.TStorage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author Zengsh123 
 * @date 2020-03-17 14:25.
 */
@Mapper
public interface TStorageMapper extends BaseMapper<TStorage> {
    int decrease(@Param("productId") Long productId, @Param("count") Integer count);
}